package com.veterinaria.services;

import java.util.ArrayList;

import com.veterinaria.bean.CargoBean;
import com.veterinaria.factory.DAOFactory;

public class CargoImplements implements CargoService{

	DAOFactory factory = DAOFactory.getFactory(1);
	CargoService dao=factory.getCargo();
	
	@Override
	public ArrayList<CargoBean> listarCargos() throws Exception {
		return dao.listarCargos();
	}

	
}
